<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<title>Curso</title>
</h:head>
<body>
	<h:form id="formGeneral" rendered="#{cPGAlumnoBean.verificarSesion()}">

		<p:toolbar>
			<p:toolbarGroup align="right">
				<p:commandButton value="salir" action="#{sesionBean.cerrarSesion()}"
					icon="ui-icon-close" />
			</p:toolbarGroup>
		</p:toolbar>

		<div align="center">
			<h:panelGrid columns="2" styleClass="fondo"
				style="text-align:center;">
				<h:panelGroup style="display:block; text-align:left">
					<p:graphicImage value="/img/ui/images.jpg"
						style="height: 100px; width: 210px" />
				</h:panelGroup>

				<h:panelGroup style="display:block; text-align:right">
					<p:graphicImage value="/img/ui/izq.png"
						style="height: 100px; width: 608px" />
				</h:panelGroup>
			</h:panelGrid>
		</div>
		<p:panel style="width:100%;">
			<h:panelGrid columns="2" cellpadding="2" cellspacing="15"
				style="width:100%;">
				<h:form>
					<p:outputLabel
						value="#{cPGAlumnoBean.matricula.cursoperiodogrupo.cursoperiodo.curso.nombreCurso}" />
					<br></br>
					<br></br>
					<p:outputLabel value="Alumno :  " />
					<p:outputLabel
						value="#{cPGAlumnoBean.alumno.persona.nombrePersona}" />
				</h:form>
				<h:form style="text-align:right;">

				</h:form>
			</h:panelGrid>
		</p:panel>

		<p:panel style="width:100%;">
			<p:tabView id="formPestañas" effect="fade" effectDuration="normal">

				<p:tab title="Descripcion">
					<h:panelGrid columns="2" cellpadding="10">
						<h:outputText
							value="En matemÃ¡ticas, lÃ³gica, ciencias de la computaciÃ³n y disciplinas relacionadas, un algoritmo (del griego " />
					</h:panelGrid>

				</p:tab>
				
								<p:tab title="Rendir examen">
					<p:commandButton value="Comenzar" icon="ui-icon-extlink"
						actionListener="#{cPGAlumnoBean.rendirExamen()}">
					</p:commandButton>
				</p:tab>
			</p:tabView>
		</p:panel>
	</h:form>
</body>
</html>